package com.mes.pojo.md;

import java.math.BigDecimal;

/**
 * @Author hitsune
 * @Company kafu chino
 * @Description
 * @Time 2024/10/21 18:47
 */

public class MdProductBom {
    private Long bomId;

    /** 物料产品ID */
    private Long itemId;

    /** BOM物料ID */
    private Long bomItemId;

    /** BOM物料编码 */
    private String bomItemCode;

    /** BOM物料名称 */
    private String bomItemName;

    /** BOM物料规格 */
    private String bomItemSpec;

    /** BOM物料单位 */
    private String unitOfMeasure;

    /** 产品物料标识 */
    private String itemOrProduct;

    /** 物料使用比例 */
    private BigDecimal quantity;

    /** 是否启用 */
    private String enableFlag;

    private Integer bomItemStatus;

    @Override
    public String toString() {
        return "MdProductBom{" +
                "bomId=" + bomId +
                ", itemId=" + itemId +
                ", bomItemId=" + bomItemId +
                ", bomItemCode='" + bomItemCode + '\'' +
                ", bomItemName='" + bomItemName + '\'' +
                ", bomItemSpec='" + bomItemSpec + '\'' +
                ", unitOfMeasure='" + unitOfMeasure + '\'' +
                ", itemOrProduct='" + itemOrProduct + '\'' +
                ", quantity=" + quantity +
                ", enableFlag='" + enableFlag + '\'' +
                ", bomItemStatus=" + bomItemStatus +
                '}';
    }

    public Long getBomId() {
        return bomId;
    }

    public void setBomId(Long bomId) {
        this.bomId = bomId;
    }

    public Long getItemId() {
        return itemId;
    }

    public void setItemId(Long itemId) {
        this.itemId = itemId;
    }

    public Long getBomItemId() {
        return bomItemId;
    }

    public void setBomItemId(Long bomItemId) {
        this.bomItemId = bomItemId;
    }

    public String getBomItemCode() {
        return bomItemCode;
    }

    public void setBomItemCode(String bomItemCode) {
        this.bomItemCode = bomItemCode;
    }

    public String getBomItemName() {
        return bomItemName;
    }

    public void setBomItemName(String bomItemName) {
        this.bomItemName = bomItemName;
    }

    public String getBomItemSpec() {
        return bomItemSpec;
    }

    public void setBomItemSpec(String bomItemSpec) {
        this.bomItemSpec = bomItemSpec;
    }

    public String getUnitOfMeasure() {
        return unitOfMeasure;
    }

    public void setUnitOfMeasure(String unitOfMeasure) {
        this.unitOfMeasure = unitOfMeasure;
    }

    public String getItemOrProduct() {
        return itemOrProduct;
    }

    public void setItemOrProduct(String itemOrProduct) {
        this.itemOrProduct = itemOrProduct;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public String getEnableFlag() {
        return enableFlag;
    }

    public void setEnableFlag(String enableFlag) {
        this.enableFlag = enableFlag;
    }

    public Integer getBomItemStatus() {
        return bomItemStatus;
    }

    public void setBomItemStatus(Integer bomItemStatus) {
        this.bomItemStatus = bomItemStatus;
    }
}
